package com.aaa.dao;

import com.aaa.entity.Products;
import com.aaa.entity.Productstype;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProductsDao extends BaseMapper<Products> {
    List<Products> selectAll(String pname);
    @Select("select id,typename from productstype")
    List<Productstype> selectAllType();
}
